import request from '@/utils/request'
/**
 * 用户组
 **/
// 获取用户组列表
export const GetUserGroupList = params => request('/api/v1/PermissionUserGroup/GetList', { params: params });

// 创建用户组
export const Create = data => request.post('/api/v1/PermissionUserGroup/Create', data);

// 更新用户组
export const Update = data => request.post('/api/v1/PermissionUserGroup/Update', data);
// 启用用户组
export const EnableById = data => request.post('/api/v1/PermissionUserGroup/EnableById', data);
// 禁用用户组
export const DisableById = data => request.post('/api/v1/PermissionUserGroup/DisableById', data);

// 获取用户组信息
export const getInfo = params => request('/api/v1/PermissionUserGroup/Get', { params: params });

// 删除用户组
export const Delete = data => request.delete('/api/v1/PermissionUserGroup/Delete', { data: data });
